package games.gobang.views
{
	import flash.geom.Point;
	
	import spark.core.SpriteVisualElement;
	
	public class Chessman extends SpriteVisualElement
	{
		[Embed(source='assets/gobang/asset.swf',symbol='Chessman')]
		private var black:Class;
		[Embed(source='assets/gobang/asset.swf',symbol='Chessman2')]
		private var white:Class;
		public var pos:Point;
		public function Chessman(isBlack:Boolean)
		{
			super();
			addChild(isBlack?new black():new white());
		}
	}
}